package com.xgxf.server.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xgxf.server.common.BaseQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * ClassName: UserOperationLogQuery
 * Package: com.xgxf.server.pojo
 *
 * @Description: 用户操作日志查询对象
 * @Author: Anonymity
 * @CreateDate: 2024.03.07 - 11:18
 * Version: v1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserOperationLogQuery extends BaseQuery {

    // 用户名
    private String userName;

    // 剪叉车型号
    private String scissorLiftType;

    // 筛选用户操作的起始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startDateTime;

    // 筛选用户操作的结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endDateTime;
}
